#ifndef _ADC_FUN_H
#define _ADC_FUN_H
#include "main.h"

#define ADC_ACH 0 
#define ADC_BCH 1
#define ADC_CCH 2
#define OFFSET_LEN 100

typedef struct{
	float _FA_adc;
	float _FB_adc;
	float _FC_adc;
	float _Pow_adc;
	float _Tem_adc;
}F_adc_data_t;

extern uint16_t adc_dma_data[2] ;
extern uint16_t adc_inj_data[3] ;
extern F_adc_data_t F_adc_data;
void updata_adc_val(void);
#endif 
